package com.edu.mapper;

import com.edu.javaBean.Department;
import com.edu.javaBean.Scheduling;
import com.edu.javaBean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SchedulingMapper {
    List<Department> getScheduDepts(@Param("vistiDate") String visitDate,@Param("noon") String noon);
    int deleteByPrimaryKey(Integer id);

    int insert(Scheduling record);

    int insertSelective(Scheduling record);

    Scheduling selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scheduling record);

    int updateByPrimaryKey(Scheduling record);


    List<User> getSchedDocs(@Param("vistiDate") String scheddate,@Param("noon") String noon,@Param("deptid") int deptid);
}